package org.hysoft.spider;

import org.apache.thrift.TException;
import org.hysoft.spider.Spider.Iface;

/**
 * Created by cl on 16/6/11.
 */
public class SpiderServiceImpl implements Iface {
    @Override
    public int spiderPush(String para) throws TException {
        System.out.println(para);
        System.out.println("thred:"+Thread.currentThread().getId());
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return 0;
    }
}
